export default {
  /**@trademarkList 商标列表 */
  trademarkList(state) {
    return state.searchList.trademarkList;
  },
  /** @attrsList 商品属性列表 */
  attrsList(state) {
    return state.searchList.attrsList;
  },
  /**@goodsList 商品详情列表 */
  goodsList(state) {
    return state.searchList.goodsList;
  },
  /**@pageNo 当前页码 */
  pageNo(state) {
    return state.searchList.pageNo;
  },
  /**@totalPages 数据总页*/
  totalPages(state) {
    const totalPages=Math.ceil(state.searchList.total/state.searchList.pageSize)
    return totalPages
  },
  /**@total 数据总数*/
  total(state) {
    return state.searchList.total
  }
};
